import React, { Component } from 'react';
import styles from './index.module.less';
import ProjectList from './projectList';
import ProjectDetail from './projectDetail';

class Project extends Component {

    render() {
        const { projectid, bannerTips } = this.props;
        return (
            <div className={styles.App}>
                <div className={styles.leftBar}>
                    <ProjectList projectid={projectid} />
                </div>
                <div className={styles.rightContent}>
                    <ProjectDetail bannerTips={bannerTips} />
                </div>
            </div>
        );
    }
}

export default Project;